/**************************
 * 数组
 */
#define SIZE 20    //数组大小

int arr[SIZE] = {};  // 

void setup() {
    Serial.begin(9600);
    //init arr
    for(int i=0; i<SIZE; i++) {
        arr[i] = i * i;
    }

    //out arr
    Serial.println("id \t value");
    for(int i=0; i<SIZE; i++) {
        Serial.print(i);
        Serial.print("\t");
        Serial.println(arr[i]);
    }
}

void loop() {
  // put your main code here, to run repeatedly:

}
